package com.ruoyi.wq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 评论回复对象 wq_comment_reply
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public class WqCommentReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 评论id */
    @Excel(name = "评论id")
    private String commentId;

    /** 回复人id */
    @Excel(name = "回复人id")
    private Long userId;

    /** 回复人头像 */
    @Excel(name = "回复人头像")
    private String avatar;

    /** 回复人名称 */
    @Excel(name = "回复人名称")
    private String nickName;

    /** 回复人手机号 */
    @Excel(name = "回复人手机号")
    private String phone;

    /** 回复人性别（0男 1女 2未知） */
    @Excel(name = "回复人性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;
    
    private Integer age;
    
    private String lon;
    
    private String lat;
    
    private String city;

    /** 被回复人id */
    @Excel(name = "被回复人id")
    private Long replyUserId;

    /** 被回复人头像 */
    @Excel(name = "被回复人头像")
    private String replyAvatar;

    /** 被回复人名称 */
    @Excel(name = "被回复人名称")
    private String replyNickName;

    /** 被回复人电话 */
    @Excel(name = "被回复人电话")
    private String replyPhone;

    /** 被回复人性别（0男 1女 2未知） */
    @Excel(name = "被回复人性别", readConverterExp = "0=男,1=女,2=未知")
    private String replySex;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCommentId(String commentId) 
    {
        this.commentId = commentId;
    }

    public String getCommentId() 
    {
        return commentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getLon() {
		return lon;
	}

	public void setLon(String lon) {
		this.lon = lon;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public void setReplyUserId(Long replyUserId) 
    {
        this.replyUserId = replyUserId;
    }

    public Long getReplyUserId() 
    {
        return replyUserId;
    }
    public void setReplyAvatar(String replyAvatar) 
    {
        this.replyAvatar = replyAvatar;
    }

    public String getReplyAvatar() 
    {
        return replyAvatar;
    }
    public void setReplyNickName(String replyNickName) 
    {
        this.replyNickName = replyNickName;
    }

    public String getReplyNickName() 
    {
        return replyNickName;
    }
    public void setReplyPhone(String replyPhone) 
    {
        this.replyPhone = replyPhone;
    }

    public String getReplyPhone() 
    {
        return replyPhone;
    }
    public void setReplySex(String replySex) 
    {
        this.replySex = replySex;
    }

    public String getReplySex() 
    {
        return replySex;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commentId", getCommentId())
            .append("userId", getUserId())
            .append("avatar", getAvatar())
            .append("nickName", getNickName())
            .append("phone", getPhone())
            .append("sex", getSex())
            .append("replyUserId", getReplyUserId())
            .append("replyAvatar", getReplyAvatar())
            .append("replyNickName", getReplyNickName())
            .append("replyPhone", getReplyPhone())
            .append("replySex", getReplySex())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
